package at.fhooe.ems.service;

import at.fhooe.ems.adapter.Gui;
import at.fhooe.ems.adapter.SensorAdapter;



public class Main {

	public static void main(String[] args) {
	
		SensorAdapter adapter = new SensorAdapter();
		Gui gui = new Gui();
		gui.addObserver(adapter);
		
		AdapterDataRecipient dataRecipient = new AdapterDataRecipient();
		adapter.addObserver(dataRecipient);
		adapter.startMokup();
		
		Server server = new Server(dataRecipient);
	}

}
